x11: Set surface position correctly
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 May 2019 04:31:04 +0000 (00:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 May 2019 18:04:08 +0000 (18:04 +0000)
commit0103c13632038b3630599e8bd057d5c0c2d9b024
treeb5f799234c0b51df2741f015f8dd696ce370160f
parentfd048005f54a0f044d2b1d01de3886c8daf572a6
x11: Set surface position correctly

The X backend was storing global coordinates
in surface->x/y, and keeping the parent-relative
positions in its own fields. Switch this around
to store the relative position in x/y, as is
expected by the frontend.
gdk/x11/gdksurface-x11.c
gdk/x11/gdksurface-x11.h